<!-- 它的关注 -->
<template>
  <div>
    <div class="details-header">
      <span class="top-left">＜返回</span>
      <span class="top-right">
        <span>关注</span>
        <span style="color:gray;">粉丝</span>
      </span>
    </div>
    <div class="details-body">
      <div class="searchs">
        <input type="text" class="search" placeholder="搜索用户" />
      </div>
      <div class="fans-content">
        <div class="fan-item">
          <div class="avatar"></div>
          <div class="introduce">
            <p class="basic-info">
              <span class="name">
                小多
              </span>
              <span class="sex">♂ <span class="age">22</span></span>
            </p>
            <span class="city">
              上海
            </span>
          </div>
          <div class="whether-fan">
            <div class="center">
              <span class="whether-fan-logo"
                >⇌
                <span class="whether-fan-content">
                  取消
                </span>
              </span>
            </div>
          </div>
        </div>
        <div class="fan-item">
          <div class="avatar"></div>
          <div class="introduce">
            <p class="basic-info">
              <span class="name">
                小白
              </span>
              <span class="sex">♂ <span class="age">23</span></span>
            </p>
            <span class="city">
              广州
            </span>
          </div>
          <div class="whether-fan">
            <div class="center">
              <span class="whether-fan-logo"
                >√
                <span class="whether-fan-content">
                  取消
                </span>
              </span>
            </div>
          </div>
        </div>
        <div class="fan-item">
          <div class="avatar"></div>
          <div class="introduce">
            <p class="basic-info">
              <span class="name">
                小花
              </span>
              <span class="sexo">♀ <span class="age">18</span></span>
            </p>
            <span class="city">
              深圳
            </span>
          </div>
          <div class="whether-fan">
            <div class="center">
              <span class="whether-fan-logo"
                >⇌
                <span class="whether-fan-content">
                  取消
                </span>
              </span>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "ItFans",
  props: {},
  data() {
    return {};
  },
  methods: {}
};
</script>

<style scoped>
.details-header {
  width: 100%;
  font-family: "Microsoft YaHei";
  font-size: 17px;
  height: 2.2rem;
  text-align: center;
  background: #2d2d2d;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
}
.top-left {
  position: absolute;
  left: 1rem;
  line-height: 2rem;
}
.top-right {
  line-height: 2rem;
}
.details-body {
  margin-top: 2.2rem;
  background: #f0eff5;
  position: relative;
}
.searchs {
  background: #f0eff5;
}
/* 搜索栏 */
.search {
  width: 90%;
  margin-left: 5%;
  height: 1.625rem;
  outline: none;
  font-size: 15px;
  margin-top: 0.45rem;
  border: 1px solid #e6e6e6;
  text-align: center;
}
/* 关注 */
.fans-content {
  margin-top: 0.25rem;
  width: 100%;
  height: 31.25rem;
  font-size: 16px;
  background: #f0eff5;
}
.fan-item {
  width: 98%;
  margin-left: 1%;
  height: 3.125rem;
  background-color: #ffffff;
  border-bottom: 1px solid gray;
  position: relative;
}
.avatar {
  display: inline-block;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.25rem;
  position: absolute;
  top: 0.4575rem;
  left: 5%;
  background-image: url(../assets/it-avatar.png);
  background-size: cover;
}
.introduce {
  height: 100%;
  display: inline-block;
  margin-left: 4rem;
}
.introduce .basic-info {
  /* height:50%; */
  margin-top: 0.4rem;
}
.introduce .name {
  font-size: 18px;
  font-weight: bold;
}
.introduce .sex,
.sexo {
  display: inline-block;
  width: 2rem;
  text-align: center;
  color: white;
  border-radius: 0.125rem;
  margin-left: 0.2rem;
  font-size: 12px;
  height: 0.9rem;
  line-height: 0.9rem;
}
.introduce .sex {
  background: #97bcef;
}
.introduce .sexo {
  background: hotpink;
}
.introduce .city {
  font-size: 14px;
  display: inline-block;
  margin-top: 0.1rem;
}
.whether-fan {
  display: inline-block;
  position: absolute;
  width: 3.6rem;
  right: 5%;
  top: 0.8rem;
  font-size: 14px;
  height: 1.5rem;
  line-height: 1.5rem;
  border-radius: 20px;
  border: 1px solid #a0a0a0;
  text-align: center;
  color: #9a9a9a;
}
</style>
